home *** CD-ROM | disk | FTP | other *** search
- HDINFO Copyright 1993 - James Thorpe
-
- OVERVIEW:
-
- HDINFO - provides information about IDE hard disk
- drives.
-
- It identifies the number of Cylinders, Heads, and
- Sectors/Cylinder for any IDE hard disk. The
- information is read from the hard drive directly,
- and therefore it does not matter what the current
- CMOS parameters are. If the current CMOS settings
- do not give 100% utilisation of drive space, then
- optimal CMOS parameters are offered which will.
-
- Ideally, you should run this program when first
- installing a hard disk to find the optimal
- parameters for it BEFORE the hard drive is
- partitioned and formatted. Choose BIOS hard disk
- drive type 47, enter the appropriate figures, then
- partition and format the drive.
-
- PLEASE NOTE: If you are already using the hard drive
- do NOT change the CMOS setting if they are not
- optimal for the disk. You will be unable to access
- the drive properly if the CMOS parameters are
- changed from those with which the drive was
- partitioned and formatted.
-
- SOURCE CODE:
-
- The full source code for the program has been
- distributed with the EXE file. There are several
- things to note:
-
- 1. Borland C++ is necessary to compile the code in
- HDWIN.CPP, which uses Borland's Turbo Vision
- user interface. The code in HDINFO.CPP (where
- the real work is done) is not compiler specific
- and should compile with little, if any,
- modification using most C++ compilers.
-
- 2. I run the Borland compiler from my D: drive.
- If you use C: you will need to change the
- directories settings for the Project file
- before compiling.
-
- 3. I have included all the source code to
- demonstrate Turbo Vision programming and direct
- hardware access in C/C++, in other words, for
- educational purposes. You are free to utilise
- my code in your own programs PROVIDED that you
- do not make any profit from it. If you wish to
- use my code in a commercial application, then
- let me know, and we can come to some
- arrangement - or better yet, offer me a job.
-
- DISCLAIMER:
-
- I dislike having to do this but ...
-
- Every reasonable effort has been made to ensure that
- this program will function without damage to the
- hard disk or its contents. It is supplied free of
- charge, as a useful public utility, and is run at
- risk of the end-user. The author makes no
- guarantees and will accept no liability for damage
- or loss caused by the use of this program.
-
- CONTACT:
-
- Should you have any questions regarding this
- program, or just want a general chat, I can be
- contacted in the following ways.
-
- Compuserve: ID# 100035,101
-
- Mail: James Thorpe
- 4/4 Bradly Ave
- Kirribilli
- Sydney
- Australia 2061
-
- Phone: 61 2 957-4450
-
- Hope you find HDINFO useful.
- James Thorpe.